package cn.cena.basic.query;

import lombok.Data;

@Data
public class BaseQuery<T> {
    private Integer localPage = 1;
    private Integer pageSize = 5;

    private String keyWords;

    public Integer getBegin(){
        return (this.localPage-1)*this.pageSize;
    }
}
